﻿<%@ Page Language="C#" AutoEventWireup="true" CodeFile="ProductContent.aspx.cs" Inherits="admin_ProductContent" %>
<%@ Import Namespace="NTTHAO.CommonWeb" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

<html xmlns="http://www.w3.org/1999/xhtml" >
<head>
    <title><%=LanguageUtility.GetLanguageText("ADMIN_SITE_TITLE", Session)%></title>
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=IE8" />
    
    <link rel="stylesheet" type="text/css" href="resources/js/yui/fonts/fonts-min.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/grids/grids-min.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/resize/assets/skins/sam/resize.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/button/assets/skins/sam/button.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/container/assets/skins/sam/container.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/editor/assets/skins/sam/editor.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/calendar/assets/skins/sam/calendar.css" /> 
    
    <link rel="stylesheet" type="text/css" href="resources/css/style.css" /> 
    <link rel="stylesheet" type="text/css" href="resources/css/admin.css" /> 
    
    <script type="text/javascript" src="resources/js/yui/utilities/utilities.js"></script>
    <script type="text/javascript" src="resources/js/yui/dragdrop/dragdrop-min.js"></script>
    <script type="text/javascript" src="resources/js/yui/container/container-min.js"></script> 
    <script type="text/javascript" src="resources/js/yui/resize/resize-min.js"></script> 
    <script type="text/javascript" src="resources/js/yui/button/button-min.js"></script>
    <script type="text/javascript" src="resources/js/yui/menu/menu-min.js"></script> 
    <script type="text/javascript" src="resources/js/yui/calendar/calendar-min.js"></script>
    <script type="text/javascript" src="resources/js/custom/library.js"></script> 
    <script type="text/javascript" src="resources/js/custom/ntthao.js"></script> 
    <script type="text/javascript" src="Resources/js/custom/check.js"></script>

    <script type="text/javascript" src="resources/js/custom/gridview.js"></script>
    
    <script type="text/javascript" src="resources/js/yui/editor/editor-min.js"></script> 
    <link rel="stylesheet" type="text/css" href="resources/js/yui/editor/assets/custom-editor.css" /> 
    <script type="text/javascript" src="resources/js/yui/editor/custom-editor.js"></script>

    <style type="text/css">
        textarea {border: solid 1px #89D;}
    </style>
    
    <script type="text/javascript">
    YAHOO.util.Event.onDOMReady(function() {
    <%if (this._ReloadTop) { %>
        if (top.location.href.indexOf('&typeid=') >= 0) {
            var hrefReload = top.location.href.substring(0, top.location.href.indexOf('&typeid=') + 1);
            hrefReload += '<%=this._ReloadQuery %>';
            top.location.href = hrefReload;
            return;
        }
        top.location.href += '&<%=this._ReloadQuery %>';
        //top.location.reload();
        return;
    <%} %>
        NTTHAO.gridview.init('tbGrid');
        
        //window.onresize();
    }); 
    
    function onWindowResize() {
        if ( typeof(window.top.onFrameChanged) == 'function') {
            window.top.onFrameChanged();
        }
    }
    
    YAHOO.util.Event.on(window, "resize", onWindowResize);
    </script>
</head>
<body class="yui-skin-sam">
    <div runat="server" id="divMain"></div>
</body>
</html>